package com.fc.async;

/**
 * Created by IntelliJ IDEA.
 * User :zhaiyujin
 * Date :2017/5/23
 * Time :18:08
 * Msg  :
 */

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class springTest {
    private  static ApplicationContext ac=null;
    static{
        String conf="application-Context.xml";
        ac=new ClassPathXmlApplicationContext(conf);
    }

    public static ApplicationContext getContext(){

        return ac;
    }


}